import { Card } from 'antd';
import React from 'react';
import { ITableContextProps } from './type';

const Index: React.FC<ITableContextProps> = React.memo(({ pageY, pageX }) => {
  return (
    <Card
      style={{
        position: 'absolute',
        left: window.innerWidth - pageX,
        top: window.innerHeight - pageY,
      }}
    >
      123
    </Card>
  );
});

export default Index;
